package com.woniu.mapper;

import com.woniu.entity.RbacMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 16289
* @description 针对表【rbac_menu】的数据库操作Mapper
* @createDate 2022-09-09 11:12:51
* @Entity com.woniu.entity.RbacMenu
*/
@Mapper
public interface RbacMenuMapper {

    List<RbacMenu> findAll();

    List<RbacMenu> findSonMenu(@Param("fid") int fid);

    int editOne(RbacMenu menu);

    int updateOneMenuFID(Integer id, Integer fid);

    List<RbacMenu> findMenuByIDs(List<Integer> menuIDs);
}




